.class public Lcom/xingbook/ting/fragment/TingPlayBottomFragment;
.super Lcom/xingbook/park/fragment/BaseFragment;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/service/download/f;


# instance fields
.field a:Lcom/xingbook/ting/fragment/d;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/ImageView;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/ImageView;

.field private i:Landroid/widget/SeekBar;

.field private j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

.field private k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

.field private l:Lcom/xingbook/ting/fragment/e;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/fragment/BaseFragment;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v0, Lcom/xingbook/ting/fragment/d;

    invoke-direct {v0, p0}, Lcom/xingbook/ting/fragment/d;-><init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->a:Lcom/xingbook/ting/fragment/d;

    new-instance v0, Lcom/xingbook/ting/fragment/e;

    invoke-direct {v0, p0, p0}, Lcom/xingbook/ting/fragment/e;-><init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->l:Lcom/xingbook/ting/fragment/e;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->c:Landroid/widget/TextView;

    return-object v0
.end method

.method private a()V
    .locals 4

    const v0, 0x7f020324

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v2

    const/4 v3, 0x2

    if-ne v2, v3, :cond_1

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->d:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void

    :cond_1
    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v2

    const/4 v3, 0x1

    if-ne v2, v3, :cond_2

    const v0, 0x7f020325

    goto :goto_0

    :cond_2
    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v1

    if-nez v1, :cond_0

    const v0, 0x7f020323

    goto :goto_0
.end method

.method private a(Landroid/view/View;)V
    .locals 2

    const v0, 0x7f0a0218

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->b:Landroid/widget/TextView;

    const v0, 0x7f0a0219

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->c:Landroid/widget/TextView;

    const v0, 0x7f0a021f

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->d:Landroid/widget/ImageView;

    const v0, 0x7f0a0220

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const v0, 0x7f0a021c

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->f:Landroid/widget/ImageView;

    const v0, 0x7f0a021e

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->h:Landroid/widget/ImageView;

    const v0, 0x7f0a021d

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->g:Landroid/widget/ImageView;

    const v0, 0x7f0a021a

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->i:Landroid/widget/SeekBar;

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->d:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->i:Landroid/widget/SeekBar;

    new-instance v1, Lcom/xingbook/ting/fragment/a;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/a;-><init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)Landroid/widget/SeekBar;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->i:Landroid/widget/SeekBar;

    return-object v0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/b;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/b;-><init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;-><init>(Lcom/xingbook/ting/receiver/b;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->a(Landroid/content/Context;)V

    new-instance v0, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/c;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/c;-><init>(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;-><init>(Lcom/xingbook/ting/receiver/d;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->b:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->f:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/ting/fragment/TingPlayBottomFragment;)Lcom/xingbook/ting/fragment/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->l:Lcom/xingbook/ting/fragment/e;

    return-object v0
.end method

.method private e()V
    .locals 6

    const v0, 0x7f020324

    const/4 v5, 0x2

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v2

    if-ne v2, v5, :cond_1

    invoke-virtual {v1, v4}, Lcom/xingbook/ting/play/j;->c(I)V

    const v0, 0x7f020325

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "\u5355\u66f2\u5faa\u73af"

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->d:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void

    :cond_1
    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v2

    if-ne v2, v4, :cond_2

    invoke-virtual {v1, v3}, Lcom/xingbook/ting/play/j;->c(I)V

    const v0, 0x7f020323

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "\u5217\u8868\u5faa\u73af"

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_2
    invoke-virtual {v1}, Lcom/xingbook/ting/play/j;->i()I

    move-result v2

    if-nez v2, :cond_0

    invoke-virtual {v1, v5}, Lcom/xingbook/ting/play/j;->c(I)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, "\u987a\u5e8f\u64ad\u653e"

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method private f()V
    .locals 5

    const v0, 0x7f02033a

    const v1, 0xdbba0

    const/4 v2, 0x0

    const-string v3, "0m"

    iget-object v4, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v4}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v4, "15m"

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    const-string v4, "15\u5206\u949f\u540e\u505c\u6b62\u64ad\u653e"

    invoke-static {v3, v4, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    :goto_0
    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    new-instance v0, Landroid/content/Intent;

    const-string v2, "com.111.xingpark.ting.play.musicservice.action.ACTION_SHUTDOWN_DELAY"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v2, "time"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/support/v4/app/FragmentActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    return-void

    :cond_0
    const-string v3, "15m"

    iget-object v4, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v4}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    const v0, 0x7f02033b

    const v1, 0x1b7740

    iget-object v3, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v4, "30m"

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    const-string v4, "30\u5206\u949f\u540e\u505c\u6b62\u64ad\u653e"

    invoke-static {v3, v4, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :cond_1
    const-string v3, "30m"

    iget-object v4, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v4}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    const v0, 0x7f020339

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v3, "0m"

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v3, "\u53d6\u6d88\u5b9a\u65f6\u505c\u6b62"

    invoke-static {v1, v3, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    move v1, v2

    goto :goto_0

    :cond_2
    iget-object v3, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v4, "15m"

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    const-string v4, "15\u5206\u949f\u540e\u505c\u6b62\u64ad\u653e"

    invoke-static {v3, v4, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v2

    invoke-virtual {v2}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const v0, 0x7f020339

    if-nez p1, :cond_1

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v2, "0m"

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void

    :cond_1
    const v1, 0xdbba0

    if-ne p1, v1, :cond_2

    const v0, 0x7f02033a

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v2, "15m"

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    :cond_2
    const v1, 0x1b7740

    if-ne p1, v1, :cond_0

    const v0, 0x7f02033b

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e:Landroid/widget/ImageView;

    const-string v2, "30m"

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    goto :goto_0
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_1

    invoke-static {}, Lcom/xingbook/c/n;->a()Lcom/xingbook/c/n;

    move-result-object v0

    :goto_0
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    :cond_0
    return-void

    :cond_1
    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    goto :goto_0
.end method

.method public c()Ljava/lang/String;
    .locals 1

    const-string v0, "\u97f3\u9891\u64ad\u653e-\u5e95\u90e8"

    return-object v0
.end method

.method public onAttach(Landroid/app/Activity;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/xingbook/park/fragment/BaseFragment;->onAttach(Landroid/app/Activity;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a021f

    if-ne v0, v1, :cond_1

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->e()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const v1, 0x7f0a0220

    if-ne v0, v1, :cond_2

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->f()V

    goto :goto_0

    :cond_2
    const v1, 0x7f0a021c

    if-ne v0, v1, :cond_4

    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "com.111.xingpark.ting.play.musicservice.action.PAUSE"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/app/FragmentActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/View;->setSelected(Z)V

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "com.111.xingpark.ting.play.musicservice.action.PLAY"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/app/FragmentActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/view/View;->setSelected(Z)V

    goto :goto_0

    :cond_4
    const v1, 0x7f0a021e

    if-ne v0, v1, :cond_5

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "com.111.xingpark.ting.play.musicservice.action.SKIP"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/app/FragmentActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto :goto_0

    :cond_5
    const v1, 0x7f0a021d

    if-ne v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "com.111.xingpark.ting.play.musicservice.action.REWIND"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/app/FragmentActivity;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    goto :goto_0
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2

    const v0, 0x7f030042

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->a(Landroid/view/View;)V

    return-object v0
.end method

.method public onPause()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->j:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->b(Landroid/content/Context;)V

    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onPause()V

    return-void
.end method

.method public onResume()V
    .locals 4

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->a()V

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->b()V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->h()I

    move-result v2

    if-lez v2, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->d()I

    move-result v2

    if-ltz v2, :cond_0

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->f:Landroid/widget/ImageView;

    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v3, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v3, :cond_3

    const/4 v0, 0x1

    :goto_0
    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->k:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {v0}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a()Lcom/xingbook/ting/receiver/d;

    move-result-object v0

    invoke-interface {v0}, Lcom/xingbook/ting/receiver/d;->a()V

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v2, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->l:Lcom/xingbook/ting/fragment/e;

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/fragment/e;->sendEmptyMessage(I)Z

    :cond_1
    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    if-eqz v0, :cond_2

    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    invoke-virtual {v0}, Lcom/xingbook/ting/play/MusicService;->o()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/xingbook/ting/fragment/TingPlayBottomFragment;->a(I)V

    :cond_2
    invoke-super {p0}, Lcom/xingbook/park/fragment/BaseFragment;->onResume()V

    return-void

    :cond_3
    move v0, v1

    goto :goto_0
.end method
